using System;
using System.Web.Routing;
using System.Web;

namespace Kollektiv.Web.Mvc
{
    public class RouteHandler : IRouteHandler
    {
        private string routeID;

        public RouteHandler(string routeID)
        {
            this.routeID = routeID;
        }

        public IHttpHandler GetHttpHandler(RequestContext requestContext)
        {
            return new MvcHandler(requestContext, this.routeID);
        }
    }
}

